-- GENERATED SPELL FOR [Venom Belcher] --


function spell0_10417(pUnit, Event) --@Venom Spit,n/a--
pUnit:FullCastSpellOnTarget(16866,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10417', 12500, 1)
end

function Sorts_10417(pUnit, Event)
local choix_sorts_10417 = math.random(0, 0)
if choix_sorts_10417 == 0 then
pUnit:RegisterEvent('spell0_10417', 1, 1)
end
end

function mob10417_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10417', math.random(1500, 3000), 1)
end

function mob10417_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10417_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10417_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10417, 1, 'mob10417_Action')
RegisterUnitEvent(10417, 2, 'mob10417_Leave')
RegisterUnitEvent(10417, 3, 'mob10417_Kill')
RegisterUnitEvent(10417, 4, 'mob10417_Die')
